﻿/*---------------------------------------------------------------------------------
-----------------***DaLianQianYi***-----------------------
-----------------作者：大连仟亿科技------------------------------------------------------
-----------------联系作者：www.qianyikeji.com----------------------------------
-----------------时间：2018/5/2 19:31:32------------------------------------------
----------------------------------------------------------------------------------*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Donal.Xms.Model
{
    /// <summary>
    /// company实体
    /// </summary>
    [Serializable]
    public partial class company
    {
        public company()
        { }

        #region Model

        private int _id = 0;        
        private string _companyName = string.Empty;        
        private int _industry_id = 0;
        private string _province = string.Empty;
        private string _city = string.Empty;
        private string _county = string.Empty;
        private string _address = string.Empty;
        private int _invoiceType = 0;
        private string _taxPoint = string.Empty;
        private int _isPostage = 0;
        private string _tel = string.Empty;
        private string _fax = string.Empty;        
        private string _bankAccount = string.Empty;
        private string _companyCode = string.Empty;
        private string _bankName = string.Empty;
        private DateTime? _createTime = null;
        private string _author = string.Empty;
        private int _isDeleted = 0;
        private string _sl = string.Empty;
        private int _defaultShippingAddress = 0;
        private int _defaultMailingAddress = 0;
        private int _user_type = 0;
        private int _group_id = 0;
        private decimal _amount = 0;        
        private int _exp = 0;
        private DateTime? _add_time = null;
        private int _status = 0;
        private decimal _available_credit = 0;
        private DateTime? _reg_time = null;
        private string _reg_ip = string.Empty;
        private int _sort_id = 0;       
        private string _systemCode = string.Empty;
        
        /// <summary>
        /// 系统代码 商城生成的代码为 C +会员编码
        /// </summary>
        public string systemCode
        {
            set { _systemCode = value; }
            get { return _systemCode; }
        }        
        /// <summary>
        ///  排序
        /// </summary>
        public int sort_id
        {
            set { _sort_id = value; }
            get { return _sort_id; }
        }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? reg_time
        {
            set { _reg_time = value; }
            get { return _reg_time; }
        }
        /// <summary>
        /// 注册IP
        /// </summary>
        public string reg_ip
        {
            set { _reg_ip = value; }
            get { return _reg_ip; }
        }

        /// <summary>
        ///  ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        
        /// <summary>
        ///  伙伴名称
        /// </summary>
        public string companyName
        {
            set { _companyName = value; }
            get { return _companyName; }
        }        
        /// <summary>
        ///  行业ID
        /// </summary>
        public int industry
        {
            set { _industry_id = value; }
            get { return _industry_id; }
        }
        /// <summary>
        ///  省
        /// </summary>
        public string province
        {
            set { _province = value; }
            get { return _province; }
        }
        /// <summary>
        ///  市
        /// </summary>
        public string city
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        ///  区
        /// </summary>
        public string county
        {
            set { _county = value; }
            get { return _county; }
        }
        /// <summary>
        ///  地址
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        ///  发票类型 1专用发票 2普通发票
        /// </summary>
        public int invoiceType
        {
            set { _invoiceType = value; }
            get { return _invoiceType; }
        }
        /// <summary>
        ///  发票税点
        /// </summary>
        public string taxPoint
        {
            set { _taxPoint = value; }
            get { return _taxPoint; }
        }
        /// <summary>
        ///  是否包邮
        /// </summary>
        public int isPostage
        {
            set { _isPostage = value; }
            get { return _isPostage; }
        }
        /// <summary>
        ///  公司电话
        /// </summary>
        public string tel
        {
            set { _tel = value; }
            get { return _tel; }
        }
        /// <summary>
        ///  公司传真
        /// </summary>
        public string fax
        {
            set { _fax = value; }
            get { return _fax; }
        }       
        /// <summary>
        ///  账号
        /// </summary>
        public string bankAccount
        {
            set { _bankAccount = value; }
            get { return _bankAccount; }
        }
        /// <summary>
        ///  税号
        /// </summary>
        public string companyCode
        {
            set { _companyCode = value; }
            get { return _companyCode; }
        }
        /// <summary>
        ///  开户行
        /// </summary>
        public string bankName
        {
            set { _bankName = value; }
            get { return _bankName; }
        }
        /// <summary>
        ///  登记日期
        /// </summary>
        public DateTime? createTime
        {
            set { _createTime = value; }
            get { return _createTime; }
        }
        /// <summary>
        ///  登记人
        /// </summary>
        public string author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        ///  删除标识
        /// </summary>
        public int isDeleted
        {
            set { _isDeleted = value; }
            get { return _isDeleted; }
        }
        /// <summary>
        ///  税率
        /// </summary>
        public string sl
        {
            set { _sl = value; }
            get { return _sl; }
        }
        /// <summary>
        ///  默认收货地址
        /// </summary>
        public int defaultShippingAddress
        {
            set { _defaultShippingAddress = value; }
            get { return _defaultShippingAddress; }
        }
        /// <summary>
        ///  默认发票邮寄地址
        /// </summary>
        public int defaultMailingAddress
        {
            set { _defaultMailingAddress = value; }
            get { return _defaultMailingAddress; }
        }
        /// <summary>
        ///  会员类型 0普通 1月结
        /// </summary>
        public int user_type
        {
            set { _user_type = value; }
            get { return _user_type; }
        }
        /// <summary>
        ///  会员组
        /// </summary>
        public int group_id
        {
            set { _group_id = value; }
            get { return _group_id; }
        }
        /// <summary>
        ///  账户余额/可用额度
        /// </summary>
        public decimal amount
        {
            set { _amount = value; }
            get { return _amount; }
        }
        /// <summary>
        ///  订单额度/信用额度
        /// </summary>
        public decimal order_limit { set; get; } = 0;
        /// <summary>
        ///  升级经验值
        /// </summary>
        public int exp
        {
            set { _exp = value; }
            get { return _exp; }
        }
        /// <summary>
        ///  添加时间
        /// </summary>
        public DateTime? add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        ///  状态 0正常 1冻结 2待审核
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }                       

        #endregion
    }
}


